export default {  
  data() {
    return {
    }
  },
  computed: {
    curCategoryId(){
    	return this.$store.getters.curCategoryId; //
    },
  },
	watch:{
		curCategoryId(newValue,oldValue){
			// console.log(this.$options.name,newValue,oldValue)
			this.query.categoryId = newValue 
			this.loadData()
		}
	},	
	mounted() {
		this.query.categoryId = this.curCategoryId
		this.loadData();
	},  
}
